<template>
    <div class="Scheduling">
        <div class="left">
          <Menu mode="vertical" style="width:200px" :theme="dark" active-name="1" >
            <router-link to="/rypb" style="color: rgb(83, 83, 83)">
              <MenuItem name="1">
                <div class="menuImg">
                  <img
                    src="../../../image/rypb-noActive.svg"
                    style="width: 18px; height: 18px"
                  />
                  <div>
                    人员排班
                  </div>
                </div>
              </MenuItem>
            </router-link>
              <router-link to="/gzbg" style="color: rgb(83, 83, 83)">
              <MenuItem name="2">
                <div class="menuImg">
                  <img
                    src="../../../image/gzbg-noActive.svg"
                    style="width: 18px; height: 18px"
                  />
                  <div>
                    工作变更
                  </div>
                </div>
              </MenuItem>
            </router-link>
              <router-link to="/sdpz" style="color: rgb(83, 83, 83)">
              <MenuItem name="3">
                <div class="menuImg">
                  <img
                    src="../../../image/sdpz-noActive.svg"
                    style="width: 18px; height: 18px"
                  />
                  <div>
                    时段配置
                  </div>
                </div>
              </MenuItem>
            </router-link>
            
          </Menu>
        </div>
    
        <div class="right">
          <router-view />
        </div>
      </div>
</template>

<script>

</script>

<style scoped>
.Scheduling{
    display: flex;
    height: 100vh;

  }
  .left {
    background-color: #fff;
    border-right: 1px solid #dddddd;
  }
.right{
    width: 100%;
}

.menuImg{
  display: flex;

  align-items: center;
}
.menuImg div{
  padding-left: 5px ;
}
.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){
  background-color: #f9f5f3;  
 }
</style>